x86/ucode: Introduce ucode=allow-same for testing purposes
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 26 Oct 2020 15:32:12 +0000 (15:32 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 27 Jan 2021 20:29:43 +0000 (20:29 +0000)
commit6677b5a3577c16501fbc51a3341446905bd21c38
treef0d60530e8397d192e22ab148db2e716d202b515
parentaa1b136ff1798a2c1a81270ccd20e7252e30ff1f
x86/ucode: Introduce ucode=allow-same for testing purposes

Many CPUs will actually reload microcode when offered the same version as
currently loaded.  This allows for easy testing of the late microcode loading
path.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
docs/misc/xen-command-line.pandoc
xen/arch/x86/cpu/microcode/amd.c
xen/arch/x86/cpu/microcode/core.c
xen/arch/x86/cpu/microcode/intel.c
xen/arch/x86/cpu/microcode/private.h